import Layout from '@/layout'

/**
    //当设置 true 的时候该路由不会再侧边栏出现 如401，login等页面，或者如一些编辑页面/edit/1
    hidden: true // 如果设置为true，项目将不会显示在侧栏中(默认为false)(默认 false)

    //当设置 noredirect 的时候该路由在面包屑导航中不可被点击
    redirect: 'noredirect'

    //当你一个路由下面的 children 声明的路由大于1个时，自动会变成嵌套的模式--如组件页面
    //只有一个时，会将那个子路由当做根路由显示在侧边栏--如引导页面
    //若你想不管路由下面的 children 声明的个数都显示你的根路由
    //你可以设置 alwaysShow: true，这样它就会忽略之前定义的规则，一直显示根路由
    alwaysShow: true   //如果设置为true，将始终显示根菜单, 如果不总是设置show，当项目有多个子路由时,它将成为嵌套模式，否则不显示根菜单

    name: 'router-name' //设定路由的名字，一定要填写不然使用<keep-alive>时会出现各种问题
    meta: {
      roles: ['admin', 'editor'] //设置该路由进入的权限，支持多个权限叠加
      title: 'title' //设置该路由在侧边栏和面包屑中展示的名字
      icon: 'svg-name' //设置该路由的图标
      noCache: true //如果设置为true，则不会被 <keep-alive> 缓存(默认 false)
      breadcrumb: false // 如果设置为false，则不会在breadcrumb面包屑中显示
      activeMenu: '/example/list'  如果设置路径，侧栏将突出显示您设置的路径
    }
*/

export default [
  {
    path: "/",
    component: Layout,
    redirect: "/home",
    meta: {
      title: "今日数据",
      icon: "dashboard"
    },
    children: [
      {
        path: "/home",
        name: "Home",
        component: () => import("@/views/home/index"),
        meta: {
          title: "今日数据",
          icon: "dashboard"
        }
      }
    ]
  },

  {
    path: "/property",
    component: Layout,
    meta: {
      title: "物业管理",
      icon: "wuyeguanli"
    },
    children: [
      {
        path: "index",
        name: "Stall",
        component: () => import("@/views/stall/index"),
        meta: {
          title: "摊位管理",
          icon: "stall"
        }
      },
      {
        path: "partition",
        name: "partition",
        component: () => import("@/views/partition/index"),
        meta: {
          title: "摊位分区管理",
          icon: "tanweifenquguanli"
        }
      },
      {
        path: "business",
        name: "Business",
        component: () => import("@/views/business/index"),
        meta: {
          title: "商户管理",
          icon: "business"
        }
      },
      {
        path: "businessEdit/:businessId",
        component: () => import("@/views/business/businessEdit.vue"),
        name: "BusinessEdit",
        props: true,
        hidden: true
      },
      {
        path: "businessEdit/add",
        component: () => import("@/views/business/businessEdit.vue"),
        name: "BusinessAdd",
        // props: true,
        hidden: true
      },
      {
        path: "businessDetails/:id",
        name: "BusinessDetails",
        hidden: true,
        component: () => import("@/views/business/businessDetails.vue")
      },
      {
        path: "healthList/:id",
        name: "HealthList",
        hidden: true,
        component: () => import("@/views/business/healthList.vue")
      },
      {
        path: "contract",
        name: "Contract",
        component: () => import("@/views/contract/index"),
        meta: {
          title: "合同管理",
          icon: "contract"
        }
      },
      {
        path: "contractAdd/add",
        component: () => import("@/views/contract/contractAdd.vue"),
        name: "ContractAdd",
        // props: true,
        hidden: true
      },
      {
        path: "contractAdd/:contractId",
        component: () => import("@/views/contract/contractEdit.vue"),
        name: "ContractEdit",
        // props: true,
        hidden: true
      }
    ]
  },

  {
    path: "/financial",
    component: Layout,
    meta: {
      title: "财务管理",
      icon: "caiwuguanli"
    },
    children: [
      {
        path: "index",
        name: "PaymentList",
        component: () => import("@/views/payment/paymentList/other"),
        meta: {
          title: "缴费信息",
          icon: "paymentList"
        }
      },
      {
        path: "water",
        name: "waterPaymentList",
        hidden: true,
        component: () => import("@/views/payment/paymentList/water"),
        meta: {
          title: "水费缴费信息",
          icon: "paymentList"
        }
      },
      {
        path: "gas",
        name: "gasPaymentList",
        hidden: true,
        component: () => import("@/views/payment/paymentList/gas"),
        meta: {
          title: "燃气缴费信息",
          icon: "paymentList"
        }
      },
      {
        path: "electricity",
        name: "electricityPaymentList",
        hidden: true,
        component: () => import("@/views/payment/paymentList/electricity"),
        meta: {
          title: "电费缴费信息",
          icon: "paymentList"
        }
      },
      {
        path: "rent",
        name: "rentPaymentList",
        hidden: true,
        component: () => import("@/views/payment/paymentList/rent"),
        meta: {
          title: "租金缴费信息",
          icon: "paymentList"
        }
      },
      {
        path: "paymentNoticeSum",
        name: "PaymentNoticeSum",
        component: () => import("@/views/payment/paymentNoticeSum/index"),
        meta: {
          title: "催缴通知",
          icon: "cuijiaotongzhi"
        }
      },
      {
        path: "paymentNoticeSum/paymentNotice/:id",
        name: "PaymentNotice",
        hidden: true,
        component: () =>
          import("@/views/payment/paymentNoticeSum/paymentNotice.vue"),
        meta: {
          title: "客户详情",
          icon: "dashboard"
        }
      },
      {
        path: "paymentItem",
        name: "PaymentItem",
        component: () => import("@/views/paymentItem/index"),
        meta: {
          title: "缴费项目",
          icon: "jiaofeixiangmu"
        }
      }
    ]
  },

  {
    path: "/marketOperate",
    component: Layout,
    meta: {
      title: "食品安全",
      icon: "shipinanquan"
    },
    children: [
      {
        path: "index",
        name: "DetectionInfo",
        component: () => import("@/views/detectionInfo/index"),
        meta: {
          title: "检测信息",
          icon: "detectionInfo"
        }
      },
      {
        path: "purchaseInfo",
        name: "PurchaseInfo",
        component: () => import("@/views/purchaseInfo/index"),
        meta: {
          title: "购进信息",
          icon: "goujinxinxi"
        }
      },
      {
        path: "trace",
        name: "Trace",
        component: () => import("@/views/trace/index"),
        meta: {
          title: '安全召回',
          icon: 'zhiusuxinxi'
        }
      },
      {
        path: "products/:businessId",
        name: "Products",
        hidden: true,
        component: () => import("@/views/trace/productList"),
        meta: {
          title: "商品列表",
          icon: "purchaseInfo"
        }
      }
    ]
  },

  {
    path: "/publicityAndActivities",
    component: Layout,
    meta: {
      title: "宣传与活动",
      icon: "xuanchuanyuhuodong"
    },
    children: [
      {
        path: "index",
        name: "PublicAdvertising",
        component: () =>
          import("@/views/publicScreenInfo/publicAdvertising/index"),
        meta: {
          title: "公示广告",
          icon: "gongshiguanggao"
        }
      },
      {
        path: "publicDishesPrice",
        name: "PublicDishesPrice",
        component: () =>
          import("@/views/publicScreenInfo/publicDishesPrice/index"),
        meta: {
          title: "菜价公示",
          icon: "caijiagongshi"
        }
      },
      {
        path: "activity",
        name: "Activity",
        component: () => import("@/views/activity/index"),
        meta: {
          title: "活动信息",
          icon: "huodongxinxi"
        }
      },
      {
        path: "activity/detail/:id",
        name: "ActivityDetail",
        hidden: true,
        component: () => import("@/views/activity/activityDetail.vue")
      }
    ]
  },

  {
    path: "/operating",
    component: Layout,
    meta: {
      title: "经营数据",
      icon: "operating"
    },
    children: [
      {
        path: "index",
        name: "DishesOperating",
        component: () => import("@/views/operating/dishesOperating/index"),
        meta: {
          title: "菜品统计",
          icon: "caipintongji"
        }
      },
      {
        path: "businessOperating",
        name: "BusinessOperating",
        component: () => import("@/views/operating/businessOperating/index"),
        meta: {
          title: "商户统计",
          icon: "businessOperating"
        }
      },
      {
        path: "businessOperating/trading/:id",
        name: "Trading",
        hidden: true,
        component: () =>
          import("@/views/operating/businessOperating/trading.vue")
      }
    ]
  },

  {
    path: "/peopleNumber",
    component: Layout,
    meta: {
      title: "客流分析",
      icon: "keliufenxi"
    },
    children: [
      {
        path: "index",
        name: "MarketPNSearch",
        component: () => import("@/views/peopleNumber/marketPNSearch/index"),
        meta: {
          title: "客流查询",
          icon: "keliuchaxun"
        }
      },
      // {
      //   path: 'pnTimeContrast',
      //   name: 'PNTimeContrast',
      //   component: () => import('@/views/peopleNumber/pnTimeContrast/index'),
      //   meta: {
      //     title: '客流分析对比',
      //     icon: 'pnTimeContrast'
      //   }
      // },
      {
        path: "pnTimeContrast",
        name: "PNTimeContrast",
        component: () => import("@/views/peopleNumber/pnTimeContrast/index"),
        meta: {
          title: "区域分析",
          icon: "quyufenxi"
        }
      },
      {
        path: "pnHolidayContrast",
        name: "PNHolidayContrast",
        component: () => import("@/views/peopleNumber/pnHolidayContrast/index"),
        meta: {
          title: "节假日分析",
          icon: "jiejiarifenxi"
        }
      },
      {
        path: "repeatPNSearch",
        name: "RepeatPNSearch",
        component: () => import("@/views/peopleNumber/repeatPNSearch/index"),
        meta: {
          title: "回头客分析",
          icon: "huitoukefenxi"
        }
      }
      // {
      //   path: 'captureRecords',
      //   name: 'captureRecords',
      //   component: () => import('@/views/peopleNumber/captureRecords/index'),
      //   meta: {
      //     title: '抓拍记录',
      //     icon: 'pnTimeContrast'
      //   }
      // }
    ]
  },

  // {
  //   path: '/memberInfo',
  //   component: Layout,
  //   meta: {
  //     title: '会员信息',
  //     icon: 'business'
  //   },
  //   children: [
  //     {
  //       path: 'index',
  //       name: 'memberMeans',
  //       component: () => import('@/views/memberInfo/memberMeans/index'),
  //       meta: {
  //         title: '会员资料',
  //         icon: 'purchaseInfo'
  //       }
  //     },
  //     {
  //       path: 'memberRecognition',
  //       name: 'memberRecognition',
  //       component: () => import('@/views/memberInfo/memberRecognition/index'),
  //       meta: {
  //         title: '会员识别',
  //         icon: 'purchaseInfo'
  //       }
  //     },
  //     {
  //       path: 'labelManagement',
  //       name: 'labelManagement',
  //       component: () => import('@/views/memberInfo/labelManagement/index'),
  //       meta: {
  //         title: '*标签管理',
  //         icon: 'purchaseInfo'
  //       }
  //     }
  //   ]
  // },

  {
    path: "/businessReport",
    component: Layout,
    meta: {
      title: "经营报表",
      icon: "jingyingbaobiao"
    },
    children: [
      {
        path: "yearReport",
        name: "yearReport",
        component: () => import("@/views/businessReport/yearReport/index"),
        meta: {
          title: "经营年报",
          icon: "nianbao"
        }
      },
      {
        path: "quarterReport",
        name: "quarterReport",
        component: () => import("@/views/businessReport/quarterReport/index"),
        meta: {
          title: "经营季报",
          icon: "jibao"
        }
      },
      {
        path: "dailyReport",
        name: "dailyReport",
        component: () => import("@/views/businessReport/dailyReport/index"),
        meta: {
          title: "经营日报",
          icon: "ribao"
        }
      },
      {
        path: "index",
        name: "weekReport",
        component: () => import("@/views/businessReport/weekReport/index"),
        meta: {
          title: "经营周报",
          icon: "zhoubao"
        }
      },
      {
        path: "monthReport",
        name: "monthReport",
        component: () => import("@/views/businessReport/monthReport/index"),
        meta: {
          title: "经营月报",
          icon: "yuebao"
        }
      }
    ]
  },

  {
    path: "/equipment",
    component: Layout,
    meta: {
      title: "设备管理",
      icon: "shebeiguanli"
    },
    children: [
      {
        path: "index",
        name: "scale",
        component: () => import("@/views/equipment/scale/index"),
        meta: {
          title: "智慧秤管理",
          icon: "zhihuichengguanli"
        }
      },
      {
        path: "businessPublicScreen",
        name: "businessPublicScreen",
        component: () => import("@/views/equipment/businessPublicScreen/index"),
        meta: {
          title: "商户公示屏管理",
          icon: "shanghugongshiguanli"
        }
      },
      {
        path: "marketPublicScreen",
        name: "marketPublicScreen",
        component: () => import("@/views/equipment/marketPublicScreen/index"),
        meta: {
          title: "市场公示屏管理",
          icon: "weizhiguanli"
        }
      },
      // {
      //   path: 'marketPublicScreen',
      //   name: 'marketPublicScreen',
      //   component: () => import('@/views/equipment/marketPublicScreen/index'),
      //   meta: {
      //     title: '*市场公示屏管理',
      //     icon: 'equipment'
      //   }
      // },
      {
        path: "hostess",
        name: "hostess",
        component: () => import("@/views/equipment/hostess/index"),
        meta: {
          title: "知客管理",
          icon: "zhikeguanli"
        }
      },
      {
        path: "pandora",
        name: "pandora",
        component: () => import("@/views/equipment/pandora/index"),
        meta: {
          title: "潘多拉管理",
          icon: "panduolaguanli"
        }
      },
      {
        path: "electricMeter",
        name: "ElectricMeter",
        component: () =>
          import("@/views/waterElectricMeter/electricMeter/index"),
        meta: {
          title: "智能电表管理",
          icon: "zhinengdianbiaoguanli"
        }
      },
      {
        path: "collector",
        name: "Collector",
        component: () => import("@/views/waterElectricMeter/collector/index"),
        meta: {
          title: "水表采集器管理",
          icon: "shuibiaocaijiqiguanli"
        }
      },
      {
        path: "waterMeter",
        name: "WaterMeter",
        component: () => import("@/views/waterElectricMeter/waterMeter/index"),
        meta: {
          title: "智能水表管理",
          icon: "zhinengshuibiaoguanli"
        }
      },
      {
        path: "position",
        name: "position",
        component: () => import("@/views/equipment/position/index"),
        meta: {
          title: "位置管理",
          icon: "weizhiguanli"
        }
      }
    ]
  },
  {
    path: "",
    component: Layout,
    hidden: true,
    children: [
      {
        component: () =>
          import("@/views/commoditySettlement/settlementDetails.vue"),
        name: "SummaryDetails",
        path: "/onlinepro/summaryDetails"
      }
    ]
  },
  {
    path: "/onlinepro",
    component: Layout,
    meta: {
      title: "线上商品管理",
      icon: "onlinepro"
    },
    children: [
      // {
      //   path: "commodiSettle",
      //   name: "commodiSettle",
      //   component: () => import("@/views/commodiSettle/commodiSettle"),
      //   meta: {
      //     title: "商品结算",
      //     icon: "caipintongji"
      //   }
      // },
      {
        path: "commoditySettlement",
        name: "CommoditySettlement",
        component: () => import("@/views/commoditySettlement/index"),
        meta: {
          title: "商品结算",
          icon: "commodiSettle"
        }
      },
      {
        path: "historySettlement/:id",
        component: () =>
          import("@/views/commoditySettlement/historySettlement.vue"),
        name: "HistorySettlement",
        hidden: true
      },
      {
        path: "settlement/:id",
        component: () => import("@/views/commoditySettlement/settlement.vue"),
        name: "Settlement",
        hidden: true
      },

      {
        path: "/commodiSettle/commoList",
        name: "commoList",
        component: () => import("@/views/commodiSettle/commoList"),
        hidden: true
      },
      {
        path: "productMsg",
        name: "productMsg",
        component: () => import("@/views/productMsg/productMsg"),
        meta: {
          title: "商品管理",
          icon: "caipintongji"
        }
      },
      // {
      //   path: "businessPro",
      //   name: "businessPro",
      //   component: () => import("@/views/productMsg/businessPro"),
      //   meta: {
      //     title: "商户商品管理",
      //     icon: "caipintongji"
      //   }
      // },
      {
        path: "businessPro/:id",
        component: () => import("@/views/productMsg/businessPro.vue"),
        name: "businessPro",
        hidden: true
      },
      {
        path: "businessList/:id",
        component: () => import("@/views/productMsg/businessList.vue"),
        name: "businessList",
        hidden: true
      },
      {
        path: "busWeightMsg",
        name: "busWeightMsg",
        component: () => import("@/views/businessWeight/businessWeight"),
        meta: {
          title: "商户管理",
          icon: "busWeightMsg"
        }
      }
    ]
  },
  // {
  //   path: '/productMsg',
  //   component: Layout,
  //   meta: {
  //     title: '商品管理',
  //     icon: 'operating'
  //   },
  //   children: [
  //     {
  //       path: 'productMsg',
  //       name: 'productMsg',
  //       component: () => import('@/views/productMsg/productMsg'),
  //       meta: {
  //         title: '商品管理',
  //         icon: 'caipintongji'
  //       }
  //     }
  //   ]
  // },
  /*
  {
    path: '/equipment',
    component: Layout,
    meta: {
      title: '设备管理',
      icon: 'equipment'
    },
    children: [
      {
        path: 'index',
        name: 'Equipment',
        component: () => import('@/views/equipment/index'),
        meta: {
          title: '设备管理',
          icon: 'equipment'
        }
      }
    ]
  },
  */

  /*
  {
    path: '/purchaseInfo',
    component: Layout,
    meta: {
      title: '购进信息',
      icon: 'purchaseInfo'
    },
    children: [
      {
        path: 'index',
        name: 'PurchaseInfo',
        component: () => import('@/views/purchaseInfo/index'),
        meta: {
          title: '购进信息',
          icon: 'purchaseInfo'
        }
      }
    ]
  },
  */

  /**
   *
   {
    path: '/business',
    component: Layout,
    meta: {
      title: '商户管理',
      icon: 'business'
    },
    children: [
      {
        path: 'index',
        name: 'Business',
        component: () => import('@/views/business/index'),
        meta: {
          title: '商户管理',
          icon: 'business'
        }
      },
      {
        path: 'businessEdit/:businessId',
        component: () => import('@/views/business/businessEdit.vue'),
        name: 'BusinessEdit',
        props: true,
        hidden: true
      },
      {
        path: 'businessEdit/add',
        component: () => import('@/views/business/businessEdit.vue'),
        name: 'BusinessAdd',
        // props: true,
        hidden: true
      },
      {
        path: 'businessDetails/:id',
        name: 'BusinessDetails',
        hidden: true,
        component: () => import('@/views/business/businessDetails.vue')
      },
      {
        path: 'healthList/:id',
        name: 'HealthList',
        hidden: true,
        component: () => import('@/views/business/healthList.vue')
      }
    ]
  },
   */

  /**
   {
    path: '/stall',
    component: Layout,
    meta: {
      title: '摊位管理',
      icon: 'stall'
    },
    children: [
      {
        path: 'index',
        name: 'Stall',
        component: () => import('@/views/stall/index'),
        meta: {
          title: '摊位管理',
          icon: 'stall'
        }
      }
    ]
  },
   */

  // {
  //   path: '/membershipList',
  //   component: Layout,
  //   meta: {
  //     title: '客户列表',
  //     icon: 'membership'
  //   },
  //   children: [
  //     {
  //       path: 'index',
  //       name: 'MembershipList',
  //       component: () => import('@/views/membershipList/index'),
  //       meta: {
  //         title: '客户列表',
  //         icon: 'membership'
  //       }
  //     },
  //     {
  //       path: 'membershipList/membershipDetail/:id',
  //       name: 'MembershipDetail',
  //       hidden: true,
  //       component: () => import('@/views/membershipList/membershipDetail.vue'),
  //       meta: {
  //         title: '客户详情',
  //         icon: 'dashboard'
  //       }
  //     }
  //   ]
  // },

  /*
  {
    path: '/detectionInfo',
    component: Layout,
    meta: {
      title: '检测信息',
      icon: 'detectionInfo'
    },
    children: [
      {
        path: 'index',
        name: 'DetectionInfo',
        component: () => import('@/views/detectionInfo/index'),
        meta: {
          title: '检测信息',
          icon: 'detectionInfo'
        }
      }
    ]
  },
  */

  /*
  {
    path: '/activity',
    component: Layout,
    meta: {
      title: '活动管理',
      icon: 'activity'
    },
    children: [
      {
        path: 'index',
        name: 'Activity',
        component: () => import('@/views/activity/index'),
        meta: {
          title: '活动管理',
          icon: 'activity'
        }
      },
      {
        path: 'activity/detail/:id',
        name: 'ActivityDetail',
        hidden: true,
        component: () => import('@/views/activity/activityDetail.vue')
      }
    ]
  },
  */

  /*
  {
    path: '/publicScreenInfo',
    component: Layout,
    meta: {
      title: '公示屏信息',
      icon: 'publicScreenInfo'
    },
    children: [
      {
        path: 'index',
        name: 'PublicAdvertising',
        component: () => import('@/views/publicScreenInfo/publicAdvertising/index'),
        meta: {
          title: '公示广告',
          icon: 'publicAdvertising'
        }
      },
      {
        path: 'publicDishesPrice',
        name: 'PublicDishesPrice',
        component: () => import('@/views/publicScreenInfo/publicDishesPrice/index'),
        meta: {
          title: '公示菜价',
          icon: 'publicDishesPrice'
        }
      }
    ]
  },
  */

  /*
  {
    path: '/contract',
    component: Layout,
    meta: {
      title: '合同管理',
      icon: 'contract'
    },
    children: [
      {
        path: 'index',
        name: 'Contract',
        component: () => import('@/views/contract/index'),
        meta: {
          title: '合同管理',
          icon: 'contract'
        }
      },
      {
        path: 'contractAdd/add',
        component: () => import('@/views/contract/contractAdd.vue'),
        name: 'ContractAdd',
        // props: true,
        hidden: true
      },
      {
        path: 'contractAdd/:contractId',
        component: () => import('@/views/contract/contractEdit.vue'),
        name: 'ContractEdit',
        // props: true,
        hidden: true
      }
    ]
  },
  */

  /*
  {
    path: '/payment',
    component: Layout,
    meta: {
      title: '缴费管理',
      icon: 'payment'
    },
    children: [
      {
        path: 'index',
        name: 'PaymentList',
        component: () => import('@/views/payment/paymentList/other'),
        meta: {
          title: '缴费信息查询',
          icon: 'paymentList'
        }
      },
      {
        path: 'water',
        name: 'waterPaymentList',
        hidden: true,
        component: () => import('@/views/payment/paymentList/water'),
        meta: {
          title: '水费缴费信息',
          icon: 'paymentList'
        }
      },
      {
        path: 'gas',
        name: 'gasPaymentList',
        hidden: true,
        component: () => import('@/views/payment/paymentList/gas'),
        meta: {
          title: '燃气缴费信息',
          icon: 'paymentList'
        }
      },
      {
        path: 'electricity',
        name: 'electricityPaymentList',
        hidden: true,
        component: () => import('@/views/payment/paymentList/electricity'),
        meta: {
          title: '电费缴费信息',
          icon: 'paymentList'
        }
      },
      {
        path: 'rent',
        name: 'rentPaymentList',
        hidden: true,
        component: () => import('@/views/payment/paymentList/rent'),
        meta: {
          title: '租金缴费信息',
          icon: 'paymentList'
        }
      },
      {
        path: 'paymentNoticeSum',
        name: 'PaymentNoticeSum',
        component: () => import('@/views/payment/paymentNoticeSum/index'),
        meta: {
          title: '催缴通知管理',
          icon: 'paymentNoticeSum'
        }
      },
      {
        path: 'paymentNoticeSum/paymentNotice/:id',
        name: 'PaymentNotice',
        hidden: true,
        component: () => import('@/views/payment/paymentNoticeSum/paymentNotice.vue'),
        meta: {
          title: '客户详情',
          icon: 'dashboard'
        }
      }
    ]
  },
  */

  /*
  {
    path: '/trace',
    component: Layout,
    meta: {
      title: '追溯信息',
      icon: 'purchaseInfo'
    },
    children: [
      {
        path: 'index',
        name: 'Trace',
        component: () => import('@/views/trace/index'),
        meta: {
          title: '追溯信息',
          icon: 'purchaseInfo'
        }
      },
      {
        path: 'products/:businessId',
        name: 'Products',
        hidden: true,
        component: () => import('@/views/trace/productList'),
        meta: {
          title: '商品列表',
          icon: 'purchaseInfo'
        }
      }
    ]
  },
  */

  /*
  {
    path: '/paymentItem',
    component: Layout,
    meta: {
      title: '缴费项目',
      icon: 'purchaseInfo'
    },
    children: [
      {
        path: 'index',
        name: 'PaymentItem',
        component: () => import('@/views/paymentItem/index'),
        meta: {
          title: '缴费项目管理',
          icon: 'purchaseInfo'
        }
      }
    ]
  },
  */

  /**
   {
    path: '/partition',
    component: Layout,
    meta: {
      title: '摊位分区',
      icon: 'purchaseInfo'
    },
    children: [
      {
        path: 'index',
        name: 'partition',
        component: () => import('@/views/partition/index'),
        meta: {
          title: '摊位分区管理',
          icon: 'purchaseInfo'
        }
      }
    ]
  },
   */

  /*
  {
    path: '/waterElectricMeter',
    component: Layout,
    meta: {
      title: '水电表管理',
      icon: 'peopleNumber'
    },
    children: [
      {
        path: 'index',
        name: 'Collector',
        component: () => import('@/views/waterElectricMeter/collector/index'),
        meta: {
          title: '采集器管理',
          icon: 'marketPNSearch'
        }
      },
      {
        path: 'electricMeter',
        name: 'ElectricMeter',
        component: () => import('@/views/waterElectricMeter/electricMeter/index'),
        meta: {
          title: '电表管理',
          icon: 'pnTimeContrast'
        }
      },
      {
        path: 'waterMeter',
        name: 'WaterMeter',
        component: () => import('@/views/waterElectricMeter/waterMeter/index'),
        meta: {
          title: '水表管理',
          icon: 'pnHolidayContrast'
        }
      }
    ]
  },
  */

  {
    path: "/login",
    component: () => import("@/views/login/index"),
    hidden: true
  },

  {
    path: "/404",
    name: "error_404",
    component: () => import("@/views/404"),
    hidden: true
  },

  { path: "*", redirect: "/404", hidden: true }
];
